600 |
How can include the values in the inner cells in the drop down filter window
Procedure OnCreate Forward Send OnCreate Set ComDrawGridLines to OLEexRowLines Variant voAppearance Get ComVisualAppearance to voAppearance Handle hoAppearance Get Create (RefClass(cComAppearance)) to hoAppearance Set pvComObject of hoAppearance to voAppearance Get ComAdd of hoAppearance 1 "c:\exontrol\images\normal.ebn" to Nothing Send Destroy to hoAppearance Set ComDescription OLEexFilterBarBlanks to "" Set ComDescription OLEexFilterBarNonBlanks to "" Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Variant voColumn Get ComAdd of hoColumns "Single Column" to voColumn Handle hoColumn Get Create (RefClass(cComColumn)) to hoColumn Set pvComObject of hoColumn to voColumn Set ComHTMLCaption of hoColumn to "Single column with <b>inner cells</b>" Set ComToolTip of hoColumn to "Click the drop down filter button, and the filter list includes the inner cells values too." Set ComDisplayFilterButton of hoColumn to True Set ComDisplayFilterPattern of hoColumn to False Set ComFilterList of hoColumn to OLEexIncludeInnerCells Send Destroy to hoColumn Send Destroy to hoColumns Set ComShowFocusRect to False Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant s Get ComSplitCell of hoItems (ComAddItem(hoItems,"S 1.1")) 0 to s Set ComCellCaption of hoItems s to "S 1.2" Set ComCellHAlignment of hoItems s to OLECenterAlignment Set ComCellBackColor of hoItems s to |CI$1000000 Set ComCellWidth of hoItems s to 84 Get ComSplitCell of hoItems (ComAddItem(hoItems,"S 2.1")) 0 to s Set ComCellCaption of hoItems s to "S 2.2" Set ComCellHAlignment of hoItems s to OLECenterAlignment Set ComCellWidth of hoItems s to 84 Get ComSplitCell of hoItems (ComAddItem(hoItems,"S 3.1")) 0 to s Set ComCellCaption of hoItems s to "S 3.2" Set ComCellHAlignment of hoItems s to OLECenterAlignment Set ComCellBackColor of hoItems s to |CI$1000000 Set ComCellWidth of hoItems s to 84 Send Destroy to hoItems End_Procedure |
599 |
How can I sort the value gets listed in the drop down filter window
Procedure OnCreate Forward Send OnCreate Set ComLinesAtRoot to OLEexLinesAtRoot Set ComMarkSearchColumn to False Set ComDescription OLEexFilterBarAll to "" Set ComDescription OLEexFilterBarBlanks to "" Set ComDescription OLEexFilterBarNonBlanks to "" Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Variant voColumn Get ComAdd of hoColumns "P1" to voColumn Handle hoColumn Get Create (RefClass(cComColumn)) to hoColumn Set pvComObject of hoColumn to voColumn Set ComDisplayFilterButton of hoColumn to True Set ComDisplayFilterPattern of hoColumn to False Set ComFilterList of hoColumn to OLEexSortItemsDesc Send Destroy to hoColumn Send Destroy to hoColumns Variant voColumns1 Get ComColumns to voColumns1 Handle hoColumns1 Get Create (RefClass(cComColumns)) to hoColumns1 Set pvComObject of hoColumns1 to voColumns1 Variant voColumn1 Get ComAdd of hoColumns1 "P2" to voColumn1 Handle hoColumn1 Get Create (RefClass(cComColumn)) to hoColumn1 Set pvComObject of hoColumn1 to voColumn1 Set ComDisplayFilterButton of hoColumn1 to True Set ComDisplayFilterPattern of hoColumn1 to False Set ComFilterList of hoColumn1 to OLEexSortItemsAsc Send Destroy to hoColumn1 Send Destroy to hoColumns1 Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h Get ComAddItem of hoItems "Z3" to h Set ComCellCaption of hoItems h 1 to "C" Set ComCellCaption of hoItems (ComInsertItem(hoItems,h,"Z1")) 1 to "B" Set ComCellCaption of hoItems (ComInsertItem(hoItems,h,"Z2")) 1 to "A" Set ComExpandItem of hoItems h to True Send Destroy to hoItems End_Procedure |
598 |
Is there a way to break the hours into 15 minute increments just showing lines instead of the minute numbers
Procedure OnCreate Forward Send OnCreate Send ComBeginUpdate Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "2/5/2008" Send Destroy to hoChart Variant voChart1 Get ComChart to voChart1 Handle hoChart1 Get Create (RefClass(cComChart)) to hoChart1 Set pvComObject of hoChart1 to voChart1 Set ComLevelCount of hoChart1 to 3 Send Destroy to hoChart1 Variant voChart2 Get ComChart to voChart2 Handle hoChart2 Get Create (RefClass(cComChart)) to hoChart2 Set pvComObject of hoChart2 to voChart2 Variant voLevel Get ComLevel of hoChart2 0 to voLevel Handle hoLevel Get Create (RefClass(cComLevel)) to hoLevel Set pvComObject of hoLevel to voLevel Set ComLabel of hoLevel to "<b><%mmm%> <%dd%></b> <%yyyy%> " Send Destroy to hoLevel Send Destroy to hoChart2 Variant voChart3 Get ComChart to voChart3 Handle hoChart3 Get Create (RefClass(cComChart)) to hoChart3 Set pvComObject of hoChart3 to voChart3 Variant voLevel1 Get ComLevel of hoChart3 1 to voLevel1 Handle hoLevel1 Get Create (RefClass(cComLevel)) to hoLevel1 Set pvComObject of hoLevel1 to voLevel1 Set ComLabel of hoLevel1 to "<%hh%>" Set ComAlignment of hoLevel1 to OLECenterAlignment Send Destroy to hoLevel1 Send Destroy to hoChart3 Variant voChart4 Get ComChart to voChart4 Handle hoChart4 Get Create (RefClass(cComChart)) to hoChart4 Set pvComObject of hoChart4 to voChart4 Variant voLevel2 Get ComLevel of hoChart4 2 to voLevel2 Handle hoLevel2 Get Create (RefClass(cComLevel)) to hoLevel2 Set pvComObject of hoLevel2 to voLevel2 Set ComLabel of hoLevel2 to "" Set ComUnit of hoLevel2 to OLEexMinute Set ComCount of hoLevel2 to 15 Send Destroy to hoLevel2 Send Destroy to hoChart4 Variant voChart5 Get ComChart to voChart5 Handle hoChart5 Get Create (RefClass(cComChart)) to hoChart5 Set pvComObject of hoChart5 to voChart5 Set ComUnitWidth of hoChart5 to 6 Send Destroy to hoChart5 Send ComEndUpdate End_Procedure |
597 |
How can I change the visual appearance of the milestone bar using EBN
|
596 |
How can I change the visual appearance of the summary bar using EBN
|
595 |
How can I change the visual appearance of the task bar using EBN
|
594 |
How can I change the visual appearance of the task bar using EBN
|
593 |
How can I clip the HTML text or caption inside the bar
|
592 |
How can I align the text/caption on the scroll bar
Procedure OnCreate Forward Send OnCreate Set ComScrollPartCaption OLEexHScroll OLEexLowerBackPart to "left" Set ComScrollPartCaptionAlignment OLEexHScroll OLEexLowerBackPart to OLELeftAlignment Set ComScrollPartCaption OLEexHScroll OLEexUpperBackPart to "right" Set ComScrollPartCaptionAlignment OLEexHScroll OLEexUpperBackPart to OLERightAlignment Set ComColumnAutoResize to False Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns 1 to Nothing Send Destroy to hoColumns Variant voColumns1 Get ComColumns to voColumns1 Handle hoColumns1 Get Create (RefClass(cComColumns)) to hoColumns1 Set pvComObject of hoColumns1 to voColumns1 Get ComAdd of hoColumns1 2 to Nothing Send Destroy to hoColumns1 Variant voColumns2 Get ComColumns to voColumns2 Handle hoColumns2 Get Create (RefClass(cComColumns)) to hoColumns2 Set pvComObject of hoColumns2 to voColumns2 Get ComAdd of hoColumns2 3 to Nothing Send Destroy to hoColumns2 Variant voColumns3 Get ComColumns to voColumns3 Handle hoColumns3 Get Create (RefClass(cComColumns)) to hoColumns3 Set pvComObject of hoColumns3 to voColumns3 Get ComAdd of hoColumns3 4 to Nothing Send Destroy to hoColumns3 End_Procedure |
591 |
How do I programmatically control the position of the horizontal scroll bar in the chart area, so I can specify a range of dates to scorll within
Procedure OnCreate Forward Send OnCreate Send ComBeginUpdate Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Task" to Nothing Send Destroy to hoColumns Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComLevelCount of hoChart to 2 Set ComPaneWidth of hoChart False to 56 Set ComScrollRange of hoChart OLEexStartDate to "1/1/2001" Set ComScrollRange of hoChart OLEexEndDate to "1/31/2001" Set ComFirstVisibleDate of hoChart to "1/12/2001" Send Destroy to hoChart Variant v Variant voChart1 Get ComChart to voChart1 Handle hoChart1 Get Create (RefClass(cComChart)) to hoChart1 Set pvComObject of hoChart1 to voChart1 Get ComScrollRange of hoChart1 OLEexStartDate to v Send Destroy to hoChart1 Set ComScrollPartCaption OLEexHChartScroll OLEexLowerBackPart to v Set ComScrollPartCaptionAlignment OLEexHChartScroll OLEexLowerBackPart to OLELeftAlignment Variant v1 Variant voChart2 Get ComChart to voChart2 Handle hoChart2 Get Create (RefClass(cComChart)) to hoChart2 Set pvComObject of hoChart2 to voChart2 Get ComScrollRange of hoChart2 OLEexEndDate to v1 Send Destroy to hoChart2 Set ComScrollPartCaption OLEexHChartScroll OLEexUpperBackPart to v1 Set ComScrollPartCaptionAlignment OLEexHChartScroll OLEexUpperBackPart to OLERightAlignment Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h Get ComAddItem of hoItems "Task 1" to h Send ComAddBar of hoItems h "Task" "1/15/2001" "1/18/2001" "K1" Nothing Get ComAddItem of hoItems "Task 1" to h Send ComAddBar of hoItems h "Task" "1/5/2001" "1/11/2001" "K1" Nothing Send Destroy to hoItems Send ComEndUpdate End_Procedure |
590 |
How can I programmatically control the position of the "splitter" between the item list on the left side and the gantt chart on the right
Procedure OnCreate Forward Send OnCreate Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComPaneWidth of hoChart True to 196 Send Destroy to hoChart End_Procedure |
589 |
How can I add a milestone bar and some text in the chart area
|
588 |
How can I display or align the bar's caption or text outside of the bar
Procedure OnCreate Forward Send OnCreate Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Task" to Nothing Send Destroy to hoColumns Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2001" Send Destroy to hoChart Set ComDefaultItemHeight to 32 Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h Get ComAddItem of hoItems "Task 1" to h Send ComAddBar of hoItems h "Task" "1/3/2001" "1/5/2001" "K1" Nothing Set ComItemBar of hoItems h "K1" OLEexBarCaption to "<b>to do</b>" Set ComItemBar of hoItems h "K1" OLEexBarHAlignCaption to 18 Set ComItemBar of hoItems h "K1" OLEexBarVAlignCaption to 16 Send Destroy to hoItems End_Procedure |
587 |
How can I display or align the bar's caption or text outside of the bar
Procedure OnCreate Forward Send OnCreate Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Task" to Nothing Send Destroy to hoColumns Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2001" Send Destroy to hoChart Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h Get ComAddItem of hoItems "Task 1" to h Send ComAddBar of hoItems h "Task" "1/4/2001" "1/6/2001" "K1" Nothing Set ComItemBar of hoItems h "K1" OLEexBarCaption to "to do" Set ComItemBar of hoItems h "K1" OLEexBarHAlignCaption to 16 Send Destroy to hoItems End_Procedure |
586 |
How can I display or align the bar's caption or text outside of the bar
Procedure OnCreate Forward Send OnCreate Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Task" to Nothing Send Destroy to hoColumns Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2001" Send Destroy to hoChart Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h Get ComAddItem of hoItems "Task 1" to h Send ComAddBar of hoItems h "Task" "1/2/2001" "1/6/2001" "K1" Nothing Set ComItemBar of hoItems h "K1" OLEexBarCaption to "to do " Set ComItemBar of hoItems h "K1" OLEexBarHAlignCaption to 18 Send Destroy to hoItems End_Procedure |
585 |
Is there any option to count the non-working days
|
584 |
Is there any option to count or to specify the working days
|
583 |
How do I select the next row/item
Procedure OnCreate Forward Send OnCreate Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Column" to Nothing Send Destroy to hoColumns Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Get ComAddItem of hoItems "Item 1" to Nothing Get ComAddItem of hoItems "Item 2" to Nothing Get ComAddItem of hoItems "Item 3" to Nothing Set ComSelectItem of hoItems (ComNextVisibleItem(hoItems,(ComFocusItem(hoItems)))) to True Send Destroy to hoItems End_Procedure |
582 |
How do I define the visual appearance of the bar by using your EBN/skin files
Procedure OnCreate Forward Send OnCreate Variant voAppearance Get ComVisualAppearance to voAppearance Handle hoAppearance Get Create (RefClass(cComAppearance)) to hoAppearance Set pvComObject of hoAppearance to voAppearance Get ComAdd of hoAppearance 1 "c:\exontrol\images\normal.ebn" to Nothing Send Destroy to hoAppearance Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Variant voBars Get ComBars of hoChart to voBars Handle hoBars Get Create (RefClass(cComBars)) to hoBars Set pvComObject of hoBars to voBars Variant voBar Get ComCopy of hoBars "Task" "EBN" to voBar Handle hoBar Get Create (RefClass(cComBar)) to hoBar Set pvComObject of hoBar to voBar Set ComColor of hoBar to |CI$1000000 Send Destroy to hoBar Send Destroy to hoBars Send Destroy to hoChart Variant voChart1 Get ComChart to voChart1 Handle hoChart1 Get Create (RefClass(cComChart)) to hoChart1 Set pvComObject of hoChart1 to voChart1 Set ComFirstVisibleDate of hoChart1 to "1/1/2001" Send Destroy to hoChart1 Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Column" to Nothing Send Destroy to hoColumns Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Send ComAddBar of hoItems (ComAddItem(hoItems,"Item 1")) "EBN" "1/2/2001" "1/4/2001" Nothing Nothing Send ComAddBar of hoItems (ComAddItem(hoItems,"Item 2")) "Task" "1/2/2001" "1/4/2001" Nothing Nothing Send Destroy to hoItems End_Procedure |
581 |
Is it possible to have an "empty box" pattern for the bars
|
580 |
How do I enable resizing ( changing the height ) the items at runtime
Procedure OnCreate Forward Send OnCreate Set ComItemsAllowSizing to OLEexResizeItem Set ComDrawGridLines to OLEexHLines Set ComScrollBySingleLine to True Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Column" to Nothing Send Destroy to hoColumns Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Get ComAddItem of hoItems "Item 1" to Nothing Send Destroy to hoItems Variant voItems1 Get ComItems to voItems1 Handle hoItems1 Get Create (RefClass(cComItems)) to hoItems1 Set pvComObject of hoItems1 to voItems1 Set ComItemHeight of hoItems1 (ComAddItem(hoItems1,"Item 2")) to 48 Send Destroy to hoItems1 Variant voItems2 Get ComItems to voItems2 Handle hoItems2 Get Create (RefClass(cComItems)) to hoItems2 Set pvComObject of hoItems2 to voItems2 Get ComAddItem of hoItems2 "Item 3" to Nothing Send Destroy to hoItems2 End_Procedure |
579 |
How do I enable resizing all the items at runtime
Procedure OnCreate Forward Send OnCreate Set ComItemsAllowSizing to OLEexResizeAllItems Set ComDrawGridLines to OLEexHLines Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Column" to Nothing Send Destroy to hoColumns Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Get ComAddItem of hoItems "Item 1" to Nothing Send Destroy to hoItems Variant voItems1 Get ComItems to voItems1 Handle hoItems1 Get Create (RefClass(cComItems)) to hoItems1 Set pvComObject of hoItems1 to voItems1 Set ComItemHeight of hoItems1 (ComAddItem(hoItems1,"Item 2")) to 48 Send Destroy to hoItems1 Variant voItems2 Get ComItems to voItems2 Handle hoItems2 Get Create (RefClass(cComItems)) to hoItems2 Set pvComObject of hoItems2 to voItems2 Get ComAddItem of hoItems2 "Item 3" to Nothing Send Destroy to hoItems2 End_Procedure |
578 |
I'm trying to use the percentage display in my gantt's bars. Unfortunately, I don't see any percentage on the gantt chart
Procedure OnCreate Forward Send OnCreate Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Task" to Nothing Send Destroy to hoColumns Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2001" Send Destroy to hoChart Variant voChart1 Get ComChart to voChart1 Handle hoChart1 Get Create (RefClass(cComChart)) to hoChart1 Set pvComObject of hoChart1 to voChart1 Variant voBars Get ComBars of hoChart1 to voBars Handle hoBars Get Create (RefClass(cComBars)) to hoBars Set pvComObject of hoBars to voBars Variant voBar Get ComCopy of hoBars "Task" "BarName" to voBar Handle hoBar Get Create (RefClass(cComBar)) to hoBar Set pvComObject of hoBar to voBar Set ComColor of hoBar to (RGB(255,0,0)) Set ComPattern of hoBar to OLEexPatternBDiagonal Send Destroy to hoBar Send Destroy to hoBars Send Destroy to hoChart1 Variant voChart2 Get ComChart to voChart2 Handle hoChart2 Get Create (RefClass(cComChart)) to hoChart2 Set pvComObject of hoChart2 to voChart2 Variant voBars1 Get ComBars of hoChart2 to voBars1 Handle hoBars1 Get Create (RefClass(cComBars)) to hoBars1 Set pvComObject of hoBars1 to voBars1 Variant voBar1 Get ComAdd of hoBars1 "BarName%Progress" to voBar1 Handle hoBar1 Get Create (RefClass(cComBar)) to hoBar1 Set pvComObject of hoBar1 to voBar1 Set ComShortcut of hoBar1 to "Percent" Send Destroy to hoBar1 Send Destroy to hoBars1 Send Destroy to hoChart2 Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h Get ComAddItem of hoItems "Task 1" to h Send ComAddBar of hoItems h "Percent" "1/2/2001" "1/6/2001" "K1" Nothing Set ComItemBar of hoItems h "K1" OLEexBarPercent to 0.4 Set ComItemBar of hoItems h "K1" OLEexBarShowPercentCaption to True Send Destroy to hoItems End_Procedure |
577 |
How I can show Months in Time Unit panel into Roman numerals
Procedure OnCreate Forward Send OnCreate Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComLevelCount of hoChart to 2 Send Destroy to hoChart Variant voChart1 Get ComChart to voChart1 Handle hoChart1 Get Create (RefClass(cComChart)) to hoChart1 Set pvComObject of hoChart1 to voChart1 Variant voLevel Get ComLevel of hoChart1 0 to voLevel Handle hoLevel Get Create (RefClass(cComLevel)) to hoLevel Set pvComObject of hoLevel to voLevel Set ComLabel of hoLevel to 0 Send Destroy to hoLevel Send Destroy to hoChart1 Variant voChart2 Get ComChart to voChart2 Handle hoChart2 Get Create (RefClass(cComChart)) to hoChart2 Set pvComObject of hoChart2 to voChart2 Variant voLevel1 Get ComLevel of hoChart2 1 to voLevel1 Handle hoLevel1 Get Create (RefClass(cComLevel)) to hoLevel1 Set pvComObject of hoLevel1 to voLevel1 Set ComLabel of hoLevel1 to "<%mr%>" Set ComUnit of hoLevel1 to OLEexMonth Send Destroy to hoLevel1 Send Destroy to hoChart2 End_Procedure |
576 |
Can I show a bar with a different vertical position
Procedure OnCreate Forward Send OnCreate Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Task" to Nothing Send Destroy to hoColumns Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2001" Send Destroy to hoChart Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h Get ComAddItem of hoItems "Opaque" to h Send ComAddBar of hoItems h "Task" "1/2/2001" "1/6/2001" "K1" Nothing Get ComAddItem of hoItems "Transparent and Opaque" to h Send ComAddBar of hoItems h "Task" "1/2/2001" "1/6/2001" "K1" Nothing Set ComItemBar of hoItems h "K1" OLEexBarOffset to "-3" Set ComItemBar of hoItems h "K1" OLEexBarTransparent to 80 Send ComAddBar of hoItems h "Task" "1/3/2001" "1/7/2001" "K2" Nothing Send Destroy to hoItems End_Procedure |
575 |
How can I show transparent and opaque bars in the same chart
Procedure OnCreate Forward Send OnCreate Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Task" to Nothing Send Destroy to hoColumns Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2001" Send Destroy to hoChart Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h Get ComAddItem of hoItems "Opaque" to h Send ComAddBar of hoItems h "Task" "1/2/2001" "1/6/2001" "K1" Nothing Get ComAddItem of hoItems "Transparent and Opaque" to h Send ComAddBar of hoItems h "Task" "1/2/2001" "1/6/2001" "K1" Nothing Set ComItemBar of hoItems h "K1" OLEexBarOffset to "-3" Set ComItemBar of hoItems h "K1" OLEexBarTransparent to 80 Send ComAddBar of hoItems h "Task" "1/3/2001" "1/7/2001" "K2" Nothing Send Destroy to hoItems End_Procedure |
574 |
How can I draw bars using transparent colors
Procedure OnCreate Forward Send OnCreate Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComShowTransparentBars of hoChart to 60 Send Destroy to hoChart Variant voChart1 Get ComChart to voChart1 Handle hoChart1 Get Create (RefClass(cComChart)) to hoChart1 Set pvComObject of hoChart1 to voChart1 Set ComFirstVisibleDate of hoChart1 to "1/1/2001" Send Destroy to hoChart1 Variant voChart2 Get ComChart to voChart2 Handle hoChart2 Get Create (RefClass(cComChart)) to hoChart2 Set pvComObject of hoChart2 to voChart2 Variant voBars Get ComBars of hoChart2 to voBars Handle hoBars Get Create (RefClass(cComBars)) to hoBars Set pvComObject of hoBars to voBars Variant voBar Get ComCopy of hoBars "Task" "TaskR" to voBar Handle hoBar Get Create (RefClass(cComBar)) to hoBar Set pvComObject of hoBar to voBar Set ComColor of hoBar to (RGB(255,0,0)) Send Destroy to hoBar Send Destroy to hoBars Send Destroy to hoChart2 Variant voChart3 Get ComChart to voChart3 Handle hoChart3 Get Create (RefClass(cComChart)) to hoChart3 Set pvComObject of hoChart3 to voChart3 Set ComPaneWidth of hoChart3 False to 48 Send Destroy to hoChart3 Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Column" to Nothing Send Destroy to hoColumns Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h Get ComAddItem of hoItems "Item 1" to h Send ComAddBar of hoItems h "Task" "1/2/2001" "1/5/2001" "A" Nothing Send ComAddBar of hoItems h "TaskR" "1/4/2001" "1/7/2001" "B" Nothing Send Destroy to hoItems End_Procedure |
573 |
Can I change the Task bar so it display a Progress or a Percent bar, but it is splitted when the task intersect a non working area
Procedure OnCreate Forward Send OnCreate Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2001" Variant voBars Get ComBars of hoChart to voBars Handle hoBars Get Create (RefClass(cComBars)) to hoBars Set pvComObject of hoBars to voBars Variant voBar Get ComAdd of hoBars "Task%Progress:Split" to voBar Handle hoBar Get Create (RefClass(cComBar)) to hoBar Set pvComObject of hoBar to voBar Set ComShortcut of hoBar to "Task" Send Destroy to hoBar Send Destroy to hoBars Send Destroy to hoChart Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Column" to Nothing Send Destroy to hoColumns Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h Get ComAddItem of hoItems "Item 1" to h Send ComAddBar of hoItems h "Task" "1/2/2001" "1/16/2001" "K1" Nothing Set ComItemBar of hoItems h "K1" OLEexBarPercent to 0.15 Set ComItemBar of hoItems h "K1" OLEexBarShowPercentCaption to True Send Destroy to hoItems End_Procedure |
572 |
Can I change the Task bar so it display a Progress or a Percent bar
Procedure OnCreate Forward Send OnCreate Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2001" Variant voBars Get ComBars of hoChart to voBars Handle hoBars Get Create (RefClass(cComBars)) to hoBars Set pvComObject of hoBars to voBars Variant voBar Get ComAdd of hoBars "Task%Progress" to voBar Handle hoBar Get Create (RefClass(cComBar)) to hoBar Set pvComObject of hoBar to voBar Set ComShortcut of hoBar to "Task" Send Destroy to hoBar Send Destroy to hoBars Send Destroy to hoChart Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Column" to Nothing Send Destroy to hoColumns Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h Get ComAddItem of hoItems "Item 1" to h Send ComAddBar of hoItems h "Task" "1/2/2001" "1/5/2001" "K1" Nothing Set ComItemBar of hoItems h "K1" OLEexBarPercent to 0.15 Set ComItemBar of hoItems h "K1" OLEexBarShowPercentCaption to True Send Destroy to hoItems End_Procedure |
571 |
How can I remove the filter
Procedure OnCreate Forward Send OnCreate Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Variant voColumn Get ComAdd of hoColumns "Column" to voColumn Handle hoColumn Get Create (RefClass(cComColumn)) to hoColumn Set pvComObject of hoColumn to voColumn Set ComDisplayFilterButton of hoColumn to True Set ComFilterType of hoColumn to OLEexBlanks Send Destroy to hoColumn Send Destroy to hoColumns Send ComApplyFilter Send ComClearFilter End_Procedure |
570 |
I use the ShowEmptyBars property, but I display seconds from 15 to 15, and the bars are not shown correctly. What can I do
Procedure OnCreate Forward Send OnCreate Send ComBeginUpdate Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2002" Set ComLevelCount of hoChart to 2 Variant voLevel Get ComLevel of hoChart 0 to voLevel Handle hoLevel Get Create (RefClass(cComLevel)) to hoLevel Set pvComObject of hoLevel to voLevel Set ComLabel of hoLevel to 1048576 Send Destroy to hoLevel Variant voLevel1 Get ComLevel of hoChart 1 to voLevel1 Handle hoLevel1 Get Create (RefClass(cComLevel)) to hoLevel1 Set pvComObject of hoLevel1 to voLevel1 Set ComLabel of hoLevel1 to "<%ss%>" Set ComCount of hoLevel1 to 15 Send Destroy to hoLevel1 Set ComShowEmptyBars of hoChart to 15 Set ComShowEmptyBarsUnit of hoChart to OLEexSecond Set ComPaneWidth of hoChart False to 48 Send Destroy to hoChart Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Task" to Nothing Send Destroy to hoColumns Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h Get ComAddItem of hoItems "Task 1" to h Send ComAddBar of hoItems h "Task" "1/1/2002 12:00:15 AM" "1/1/2002 12:00:15 AM" "A" Nothing Send ComAddBar of hoItems h "Task" "1/1/2002 12:01:15 AM" "1/1/2002 12:01:30 AM" "B" Nothing Send ComAddLink of hoItems "AB" h "A" h "B" Send Destroy to hoItems Send ComEndUpdate End_Procedure |
569 |
I need the bar works like in the MS Project, where task from 1/1/2001 to 1/1/2001 must display 1 day
|
568 |
I have a bar that has the start and end date identical. Nothing is displayed. What can I do
|
567 |
How can I display seconds and bars for 15 to 15
Procedure OnCreate Forward Send OnCreate Send ComBeginUpdate Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2002 00:00" Send Destroy to hoChart Variant voChart1 Get ComChart to voChart1 Handle hoChart1 Get Create (RefClass(cComChart)) to hoChart1 Set pvComObject of hoChart1 to voChart1 Set ComLevelCount of hoChart1 to 2 Send Destroy to hoChart1 Variant voChart2 Get ComChart to voChart2 Handle hoChart2 Get Create (RefClass(cComChart)) to hoChart2 Set pvComObject of hoChart2 to voChart2 Variant voLevel Get ComLevel of hoChart2 0 to voLevel Handle hoLevel Get Create (RefClass(cComLevel)) to hoLevel Set pvComObject of hoLevel to voLevel Set ComLabel of hoLevel to 1048576 Send Destroy to hoLevel Send Destroy to hoChart2 Variant voChart3 Get ComChart to voChart3 Handle hoChart3 Get Create (RefClass(cComChart)) to hoChart3 Set pvComObject of hoChart3 to voChart3 Variant voLevel1 Get ComLevel of hoChart3 1 to voLevel1 Handle hoLevel1 Get Create (RefClass(cComLevel)) to hoLevel1 Set pvComObject of hoLevel1 to voLevel1 Set ComLabel of hoLevel1 to "<%ss%>" Set ComCount of hoLevel1 to 15 Send Destroy to hoLevel1 Send Destroy to hoChart3 Variant voChart4 Get ComChart to voChart4 Handle hoChart4 Get Create (RefClass(cComChart)) to hoChart4 Set pvComObject of hoChart4 to voChart4 Set ComPaneWidth of hoChart4 False to 48 Send Destroy to hoChart4 Variant voChart5 Get ComChart to voChart5 Handle hoChart5 Get Create (RefClass(cComChart)) to hoChart5 Set pvComObject of hoChart5 to voChart5 Variant voBars Get ComBars of hoChart5 to voBars Handle hoBars Get Create (RefClass(cComBars)) to hoBars Set pvComObject of hoBars to voBars Variant voBar Get ComCopy of hoBars "Task" "Task2" to voBar Handle hoBar Get Create (RefClass(cComBar)) to hoBar Set pvComObject of hoBar to voBar Set ComColor of hoBar to (RGB(255,0,0)) Send Destroy to hoBar Send Destroy to hoBars Send Destroy to hoChart5 Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Task" to Nothing Send Destroy to hoColumns Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h Get ComAddItem of hoItems "Task 1" to h Send ComAddBar of hoItems h "Task" "1/1/2002 00:00:15" "1/1/2002 00:00:45" "A" Nothing Send ComAddBar of hoItems h "Task2" "1/1/2002 00:01:15" "1/1/2002 00:01:45" "B" Nothing Send ComAddLink of hoItems "AB" h "A" h "B" Send Destroy to hoItems Send ComEndUpdate End_Procedure |
566 |
How can I copy a predefined bar
Procedure OnCreate Forward Send OnCreate Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Variant voBars Get ComBars of hoChart to voBars Handle hoBars Get Create (RefClass(cComBars)) to hoBars Set pvComObject of hoBars to voBars Variant voBar Get ComCopy of hoBars "Task" "T2" to voBar Handle hoBar Get Create (RefClass(cComBar)) to hoBar Set pvComObject of hoBar to voBar Set ComColor of hoBar to (RGB(255,0,0)) Send Destroy to hoBar Send Destroy to hoBars Send Destroy to hoChart Variant voChart1 Get ComChart to voChart1 Handle hoChart1 Get Create (RefClass(cComChart)) to hoChart1 Set pvComObject of hoChart1 to voChart1 Set ComFirstVisibleDate of hoChart1 to "1/1/2001" Send Destroy to hoChart1 Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Column" to Nothing Send Destroy to hoColumns Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Send ComAddBar of hoItems (ComAddItem(hoItems,"Item 1")) "T2" "1/2/2001" "1/4/2001" Nothing Nothing Send Destroy to hoItems End_Procedure |
565 |
How can I define my own custom bar, using my icons or pictures
Procedure OnCreate Forward Send OnCreate Send ComImages "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=" Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Variant voBars Get ComBars of hoChart to voBars Handle hoBars Get Create (RefClass(cComBars)) to hoBars Set pvComObject of hoBars to voBars Send ComAddShapeCorner of hoBars 12345 1 Send ComAddShapeCorner of hoBars 22345 2 Variant voBar Get ComAdd of hoBars "T2" to voBar Handle hoBar Get Create (RefClass(cComBar)) to hoBar Set pvComObject of hoBar to voBar Set ComStartShape of hoBar to (|CI$5740 + OLEexShapeIconCircleUp1) Set ComEndShape of hoBar to (|CI$3020 + OLEexShapeIconVBar + OLEexShapeIconRight) Set ComEndColor of hoBar to (RGB(255,0,0)) Set ComPattern of hoBar to OLEexPatternDot Set ComColor of hoBar to (RGB(255,0,255)) Set ComShape of hoBar to OLEexShapeThinCenter Send Destroy to hoBar Send Destroy to hoBars Send Destroy to hoChart Variant voChart1 Get ComChart to voChart1 Handle hoChart1 Get Create (RefClass(cComChart)) to hoChart1 Set pvComObject of hoChart1 to voChart1 Set ComFirstVisibleDate of hoChart1 to "1/1/2001" Send Destroy to hoChart1 Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Column" to Nothing Send Destroy to hoColumns Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Send ComAddBar of hoItems (ComAddItem(hoItems,"Item 1")) "T2" "1/2/2001" "1/4/2001" Nothing Nothing Send Destroy to hoItems End_Procedure |
564 |
How can I access a predefined bar
Procedure OnCreate Forward Send OnCreate Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2001" Send Destroy to hoChart Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Column" to Nothing Send Destroy to hoColumns Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Send ComAddBar of hoItems (ComAddItem(hoItems,"Item 1")) "Task" "1/2/2001" "1/4/2001" Nothing Nothing Send Destroy to hoItems Variant voChart1 Get ComChart to voChart1 Handle hoChart1 Get Create (RefClass(cComChart)) to hoChart1 Set pvComObject of hoChart1 to voChart1 Variant voBars Get ComBars of hoChart1 to voBars Handle hoBars Get Create (RefClass(cComBars)) to hoBars Set pvComObject of hoBars to voBars Variant voBar Get ComItem of hoBars "Task" to voBar Handle hoBar Get Create (RefClass(cComBar)) to hoBar Set pvComObject of hoBar to voBar Set ComColor of hoBar to (RGB(255,0,0)) Send Destroy to hoBar Send Destroy to hoBars Send Destroy to hoChart1 End_Procedure |
563 |
How can I access a predefined bar
Procedure OnCreate Forward Send OnCreate Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2001" Send Destroy to hoChart Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Column" to Nothing Send Destroy to hoColumns Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Send ComAddBar of hoItems (ComAddItem(hoItems,"Item 1")) "Task" "1/2/2001" "1/4/2001" Nothing Nothing Send Destroy to hoItems Variant voChart1 Get ComChart to voChart1 Handle hoChart1 Get Create (RefClass(cComChart)) to hoChart1 Set pvComObject of hoChart1 to voChart1 Variant voBars Get ComBars of hoChart1 to voBars Handle hoBars Get Create (RefClass(cComBars)) to hoBars Set pvComObject of hoBars to voBars Variant voBar Get ComItem of hoBars "Task" to voBar Handle hoBar Get Create (RefClass(cComBar)) to hoBar Set pvComObject of hoBar to voBar Set ComColor of hoBar to (RGB(255,0,0)) Send Destroy to hoBar Send Destroy to hoBars Send Destroy to hoChart1 End_Procedure |
562 |
How can I remove all predefined bars
Procedure OnCreate Forward Send OnCreate Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2001" Send Destroy to hoChart Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Column" to Nothing Send Destroy to hoColumns Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Send ComAddBar of hoItems (ComAddItem(hoItems,"Item 1")) "Task" "1/2/2001" "1/4/2001" Nothing Nothing Send Destroy to hoItems End_Procedure |
561 |
How can I remove a predefined bar
Procedure OnCreate Forward Send OnCreate Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2001" Send Destroy to hoChart Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Column" to Nothing Send Destroy to hoColumns Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Send ComAddBar of hoItems (ComAddItem(hoItems,"Item 1")) "Task" "1/2/2001" "1/4/2001" Nothing Nothing Send Destroy to hoItems End_Procedure |
560 |
How do I get the number of predefined bars
|
559 |
How can I change the height of the task bar
Procedure OnCreate Forward Send OnCreate Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Variant voBars Get ComBars of hoChart to voBars Handle hoBars Get Create (RefClass(cComBars)) to hoBars Set pvComObject of hoBars to voBars Variant voBar Get ComCopy of hoBars "Task" "T2" to voBar Handle hoBar Get Create (RefClass(cComBar)) to hoBar Set pvComObject of hoBar to voBar Set ComHeight of hoBar to 24 Set ComEndShape of hoBar to OLEexShapeIconDown1 Set ComEndColor of hoBar to (RGB(255,0,0)) Send Destroy to hoBar Send Destroy to hoBars Send Destroy to hoChart Variant voChart1 Get ComChart to voChart1 Handle hoChart1 Get Create (RefClass(cComChart)) to hoChart1 Set pvComObject of hoChart1 to voChart1 Set ComFirstVisibleDate of hoChart1 to "1/1/2001" Send Destroy to hoChart1 Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Column" to Nothing Send Destroy to hoColumns Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h Get ComAddItem of hoItems "Item 1" to h Set ComItemHeight of hoItems h to 28 Send ComAddBar of hoItems h "T2" "1/2/2001" "1/4/2001" Nothing Nothing Send ComAddBar of hoItems (ComAddItem(hoItems,"Item 2")) "Task" "1/2/2001" "1/4/2001" Nothing Nothing Send Destroy to hoItems End_Procedure |
558 |
How can I change the ending shape for all task bars
Procedure OnCreate Forward Send OnCreate Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Variant voBars Get ComBars of hoChart to voBars Handle hoBars Get Create (RefClass(cComBars)) to hoBars Set pvComObject of hoBars to voBars Variant voBar Get ComItem of hoBars "Task" to voBar Handle hoBar Get Create (RefClass(cComBar)) to hoBar Set pvComObject of hoBar to voBar Variant voBar1 Get ComItem of hoBar "Task" to voBar1 Handle hoBar1 Get Create (RefClass(cComBar)) to hoBar1 Set pvComObject of hoBar1 to voBar1 Set ComEndShape of hoBar1 to OLEexShapeIconUp1 Set ComEndColor of hoBar1 to (RGB(255,0,0)) Send Destroy to hoBar1 Send Destroy to hoBar Send Destroy to hoBars Send Destroy to hoChart Variant voChart1 Get ComChart to voChart1 Handle hoChart1 Get Create (RefClass(cComChart)) to hoChart1 Set pvComObject of hoChart1 to voChart1 Set ComFirstVisibleDate of hoChart1 to "1/1/2001" Send Destroy to hoChart1 Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Column" to Nothing Send Destroy to hoColumns Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Send ComAddBar of hoItems (ComAddItem(hoItems,"Item 1")) "Task" "1/2/2001" "1/4/2001" Nothing Nothing Send Destroy to hoItems End_Procedure |
557 |
How can I change the height of the task bar
Procedure OnCreate Forward Send OnCreate Set ComDefaultItemHeight to 28 Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Variant voBars Get ComBars of hoChart to voBars Handle hoBars Get Create (RefClass(cComBars)) to hoBars Set pvComObject of hoBars to voBars Variant voBar Get ComItem of hoBars "Task" to voBar Handle hoBar Get Create (RefClass(cComBar)) to hoBar Set pvComObject of hoBar to voBar Set ComHeight of hoBar to 24 Send Destroy to hoBar Send Destroy to hoBars Send Destroy to hoChart Variant voChart1 Get ComChart to voChart1 Handle hoChart1 Get Create (RefClass(cComChart)) to hoChart1 Set pvComObject of hoChart1 to voChart1 Set ComFirstVisibleDate of hoChart1 to "1/1/2001" Send Destroy to hoChart1 Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Column" to Nothing Send Destroy to hoColumns Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Send ComAddBar of hoItems (ComAddItem(hoItems,"Item 1")) "Task" "1/2/2001" "1/4/2001" Nothing Nothing Send ComAddBar of hoItems (ComAddItem(hoItems,"Item 2")) "Task" "1/2/2001" "1/4/2001" Nothing Nothing Send Destroy to hoItems End_Procedure |
556 |
How can I change the starting shape for all task bars
Procedure OnCreate Forward Send OnCreate Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Variant voBars Get ComBars of hoChart to voBars Handle hoBars Get Create (RefClass(cComBars)) to hoBars Set pvComObject of hoBars to voBars Variant voBar Get ComItem of hoBars "Task" to voBar Handle hoBar Get Create (RefClass(cComBar)) to hoBar Set pvComObject of hoBar to voBar Variant voBar1 Get ComItem of hoBar "Task" to voBar1 Handle hoBar1 Get Create (RefClass(cComBar)) to hoBar1 Set pvComObject of hoBar1 to voBar1 Set ComStartShape of hoBar1 to OLEexShapeIconUp1 Set ComStartColor of hoBar1 to (RGB(255,0,0)) Send Destroy to hoBar1 Send Destroy to hoBar Send Destroy to hoBars Send Destroy to hoChart Variant voChart1 Get ComChart to voChart1 Handle hoChart1 Get Create (RefClass(cComChart)) to hoChart1 Set pvComObject of hoChart1 to voChart1 Set ComFirstVisibleDate of hoChart1 to "1/1/2001" Send Destroy to hoChart1 Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Column" to Nothing Send Destroy to hoColumns Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Send ComAddBar of hoItems (ComAddItem(hoItems,"Item 1")) "Task" "1/2/2001" "1/4/2001" Nothing Nothing Send Destroy to hoItems End_Procedure |
555 |
How can I change the height of the task bar
Procedure OnCreate Forward Send OnCreate Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Variant voBars Get ComBars of hoChart to voBars Handle hoBars Get Create (RefClass(cComBars)) to hoBars Set pvComObject of hoBars to voBars Variant voBar Get ComCopy of hoBars "Task" "T2" to voBar Handle hoBar Get Create (RefClass(cComBar)) to hoBar Set pvComObject of hoBar to voBar Set ComHeight of hoBar to 17 Send Destroy to hoBar Send Destroy to hoBars Send Destroy to hoChart Variant voChart1 Get ComChart to voChart1 Handle hoChart1 Get Create (RefClass(cComChart)) to hoChart1 Set pvComObject of hoChart1 to voChart1 Set ComFirstVisibleDate of hoChart1 to "1/1/2001" Send Destroy to hoChart1 Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Column" to Nothing Send Destroy to hoColumns Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Send ComAddBar of hoItems (ComAddItem(hoItems,"Item 1")) "T2" "1/2/2001" "1/4/2001" Nothing Nothing Send ComAddBar of hoItems (ComAddItem(hoItems,"Item 2")) "Task" "1/2/2001" "1/4/2001" Nothing Nothing Send Destroy to hoItems End_Procedure |
554 |
How can I change the height for all task bars
|
553 |
How can I change the color of the task bar
Procedure OnCreate Forward Send OnCreate Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Variant voBars Get ComBars of hoChart to voBars Handle hoBars Get Create (RefClass(cComBars)) to hoBars Set pvComObject of hoBars to voBars Variant voBar Get ComCopy of hoBars "Task" "T2" to voBar Handle hoBar Get Create (RefClass(cComBar)) to hoBar Set pvComObject of hoBar to voBar Set ComColor of hoBar to (RGB(255,0,0)) Send Destroy to hoBar Send Destroy to hoBars Send Destroy to hoChart Variant voChart1 Get ComChart to voChart1 Handle hoChart1 Get Create (RefClass(cComChart)) to hoChart1 Set pvComObject of hoChart1 to voChart1 Set ComFirstVisibleDate of hoChart1 to "1/1/2001" Send Destroy to hoChart1 Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Column" to Nothing Send Destroy to hoColumns Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Send ComAddBar of hoItems (ComAddItem(hoItems,"Item 1")) "T2" "1/2/2001" "1/4/2001" Nothing Nothing Send ComAddBar of hoItems (ComAddItem(hoItems,"Item 2")) "Task" "1/2/2001" "1/4/2001" Nothing Nothing Send Destroy to hoItems End_Procedure |
552 |
How can I change the color for all task bars
Procedure OnCreate Forward Send OnCreate Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Variant voBars Get ComBars of hoChart to voBars Handle hoBars Get Create (RefClass(cComBars)) to hoBars Set pvComObject of hoBars to voBars Variant voBar Get ComItem of hoBars "Task" to voBar Handle hoBar Get Create (RefClass(cComBar)) to hoBar Set pvComObject of hoBar to voBar Variant voBar1 Get ComItem of hoBar "Task" to voBar1 Handle hoBar1 Get Create (RefClass(cComBar)) to hoBar1 Set pvComObject of hoBar1 to voBar1 Set ComColor of hoBar1 to (RGB(255,0,0)) Send Destroy to hoBar1 Send Destroy to hoBar Send Destroy to hoBars Send Destroy to hoChart Variant voChart1 Get ComChart to voChart1 Handle hoChart1 Get Create (RefClass(cComChart)) to hoChart1 Set pvComObject of hoChart1 to voChart1 Set ComFirstVisibleDate of hoChart1 to "1/1/2001" Send Destroy to hoChart1 Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Column" to Nothing Send Destroy to hoColumns Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Send ComAddBar of hoItems (ComAddItem(hoItems,"Item 1")) "Task" "1/2/2001" "1/4/2001" Nothing Nothing Send Destroy to hoItems End_Procedure |
551 |
How can I change the shape for all task bars
|
550 |
How can I change the shape of the task bar
Procedure OnCreate Forward Send OnCreate Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Variant voBars Get ComBars of hoChart to voBars Handle hoBars Get Create (RefClass(cComBars)) to hoBars Set pvComObject of hoBars to voBars Variant voBar Get ComCopy of hoBars "Task" "T2" to voBar Handle hoBar Get Create (RefClass(cComBar)) to hoBar Set pvComObject of hoBar to voBar Set ComShape of hoBar to OLEexShapeThinCenter Send Destroy to hoBar Send Destroy to hoBars Send Destroy to hoChart Variant voChart1 Get ComChart to voChart1 Handle hoChart1 Get Create (RefClass(cComChart)) to hoChart1 Set pvComObject of hoChart1 to voChart1 Set ComFirstVisibleDate of hoChart1 to "1/1/2001" Send Destroy to hoChart1 Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Column" to Nothing Send Destroy to hoColumns Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Send ComAddBar of hoItems (ComAddItem(hoItems,"Item 1")) "T2" "1/2/2001" "1/4/2001" Nothing Nothing Send Destroy to hoItems End_Procedure |
549 |
How can I change the pattern or style for all task bars
|
548 |
How can I change the pattern of the task bar
Procedure OnCreate Forward Send OnCreate Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Variant voBars Get ComBars of hoChart to voBars Handle hoBars Get Create (RefClass(cComBars)) to hoBars Set pvComObject of hoBars to voBars Variant voBar Get ComCopy of hoBars "Task" "T2" to voBar Handle hoBar Get Create (RefClass(cComBar)) to hoBar Set pvComObject of hoBar to voBar Set ComPattern of hoBar to OLEexPatternFDiagonal Send Destroy to hoBar Send Destroy to hoBars Send Destroy to hoChart Variant voChart1 Get ComChart to voChart1 Handle hoChart1 Get Create (RefClass(cComChart)) to hoChart1 Set pvComObject of hoChart1 to voChart1 Set ComFirstVisibleDate of hoChart1 to "1/1/2001" Send Destroy to hoChart1 Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Column" to Nothing Send Destroy to hoColumns Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Send ComAddBar of hoItems (ComAddItem(hoItems,"Item 1")) "T2" "1/2/2001" "1/4/2001" Nothing Nothing Send ComAddBar of hoItems (ComAddItem(hoItems,"Item 2")) "Task" "1/2/2001" "1/4/2001" Nothing Nothing Send Destroy to hoItems End_Procedure |
547 |
How can I add a percent bar in the chart area, so the task bar is splited for non working days or hours
Procedure OnCreate Forward Send OnCreate Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Task" to Nothing Send Destroy to hoColumns Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Variant voBars Get ComBars of hoChart to voBars Handle hoBars Get Create (RefClass(cComBars)) to hoBars Set pvComObject of hoBars to voBars Variant voBar Get ComAdd of hoBars "Task%Progress:Split" to voBar Handle hoBar Get Create (RefClass(cComBar)) to hoBar Set pvComObject of hoBar to voBar Set ComShortcut of hoBar to "TS" Send Destroy to hoBar Send Destroy to hoBars Send Destroy to hoChart Variant voChart1 Get ComChart to voChart1 Handle hoChart1 Get Create (RefClass(cComChart)) to hoChart1 Set pvComObject of hoChart1 to voChart1 Set ComFirstVisibleDate of hoChart1 to "1/1/2001" Send Destroy to hoChart1 Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h Get ComAddItem of hoItems "Task 1" to h Send ComAddBar of hoItems h "TS" "1/2/2001" "1/16/2001" "P1" Nothing Set ComItemBar of hoItems h "P1" OLEexBarPercent to 0.14 Set ComItemBar of hoItems h "P1" OLEexBarShowPercentCaption to True Send Destroy to hoItems End_Procedure |
546 |
How can I add a bar in the chart area, so the task bar is splited for non working days or hours
Procedure OnCreate Forward Send OnCreate Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Task" to Nothing Send Destroy to hoColumns Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Variant voBars Get ComBars of hoChart to voBars Handle hoBars Get Create (RefClass(cComBars)) to hoBars Set pvComObject of hoBars to voBars Variant voBar Get ComAdd of hoBars "Task:Split" to voBar Handle hoBar Get Create (RefClass(cComBar)) to hoBar Set pvComObject of hoBar to voBar Set ComShortcut of hoBar to "TS" Send Destroy to hoBar Send Destroy to hoBars Send Destroy to hoChart Variant voChart1 Get ComChart to voChart1 Handle hoChart1 Get Create (RefClass(cComChart)) to hoChart1 Set pvComObject of hoChart1 to voChart1 Set ComFirstVisibleDate of hoChart1 to "1/1/2001" Send Destroy to hoChart1 Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Send ComAddBar of hoItems (ComAddItem(hoItems,"Task 1")) "TS" "1/2/2001" "1/16/2001" Nothing Nothing Send Destroy to hoItems End_Procedure |
545 |
How can I add a split bar in the chart area
|
544 |
How can I add a progress bar in the chart area
|
543 |
How can I add a milestone bar in the chart area
|
542 |
How can I add a summary bar in the chart area
|
541 |
How can I add a project summary bar in the chart area
|
540 |
How can I add a deadline bar in the chart area
|
539 |
How can I add a task bar in the chart area
|
538 |
How can I assign a picture or an icon to a bar in the chart
Procedure OnCreate Forward Send OnCreate Set ComHTMLPicture "p1" to "c:\exontrol\images\zipdisk.gif" Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Task" to Nothing Send Destroy to hoColumns Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2001" Send Destroy to hoChart Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h Get ComAddItem of hoItems "Task 1" to h Set ComItemHeight of hoItems h to 48 Send ComAddBar of hoItems h "Task" "1/2/2001" "1/6/2001" "K1" Nothing Set ComItemBar of hoItems h "K1" OLEexBarCaption to "<img>p1</img>" Set ComItemBar of hoItems h "K1" OLEexBarHAlignCaption to 2 Send Destroy to hoItems End_Procedure |
537 |
How can I assign a picture or an icon to a bar in the chart
Procedure OnCreate Forward Send OnCreate Send ComImages "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=" Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Task" to Nothing Send Destroy to hoColumns Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2001" Send Destroy to hoChart Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h Get ComAddItem of hoItems "Task 1" to h Send ComAddBar of hoItems h "Task" "1/2/2001" "1/6/2001" "K1" Nothing Set ComItemBar of hoItems h "K1" OLEexBarCaption to "<img>1</img>" Send Destroy to hoItems End_Procedure |
536 |
How can I display or add an anchor or a hyperlink in the link
|
535 |
How can I display a picture or an icon on the link
Procedure OnCreate Forward Send OnCreate Send ComImages "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=" Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Task" to Nothing Send Destroy to hoColumns Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2001" Send Destroy to hoChart Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h1 Get ComAddItem of hoItems "Task 1" to h1 Send ComAddBar of hoItems h1 "Task" "1/1/2001" "1/3/2001" "K1" Nothing Get ComAddItem of hoItems "" to Nothing Get ComAddItem of hoItems "" to Nothing Get ComAddItem of hoItems "" to Nothing Get ComAddItem of hoItems "" to Nothing Variant h2 Get ComAddItem of hoItems "Task 2" to h2 Send ComAddBar of hoItems h2 "Task" "1/5/2001" "1/7/2001" "K2" Nothing Send ComAddLink of hoItems "L1" h1 "K1" h2 "K2" Set ComLink of hoItems "L1" OLEexLinkText to "just <img>1</img> link" Send Destroy to hoItems End_Procedure |
534 |
How can I display a picture or an icon on the link
Procedure OnCreate Forward Send OnCreate Set ComHTMLPicture "pic1" to "c:\exontrol\images\zipdisk.gif" Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Task" to Nothing Send Destroy to hoColumns Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2001" Send Destroy to hoChart Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h1 Get ComAddItem of hoItems "Task 1" to h1 Send ComAddBar of hoItems h1 "Task" "1/1/2001" "1/3/2001" "K1" Nothing Get ComAddItem of hoItems "" to Nothing Get ComAddItem of hoItems "" to Nothing Get ComAddItem of hoItems "" to Nothing Get ComAddItem of hoItems "" to Nothing Variant h2 Get ComAddItem of hoItems "Task 2" to h2 Send ComAddBar of hoItems h2 "Task" "1/5/2001" "1/7/2001" "K2" Nothing Send ComAddLink of hoItems "L1" h1 "K1" h2 "K2" Set ComLink of hoItems "L1" OLEexLinkText to "<img>pic1</img><br><br>just a link" Send Destroy to hoItems End_Procedure |
533 |
How can I display some HTML text or caption on link
|
532 |
How can I assign a tooltip to a link
Procedure OnCreate Forward Send OnCreate Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Task" to Nothing Send Destroy to hoColumns Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2001" Send Destroy to hoChart Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h1 Get ComAddItem of hoItems "Task 1" to h1 Send ComAddBar of hoItems h1 "Task" "1/1/2001" "1/3/2001" "K1" Nothing Variant h2 Get ComAddItem of hoItems "Task 2" to h2 Send ComAddBar of hoItems h2 "Task" "1/5/2001" "1/7/2001" "K2" Nothing Send ComAddLink of hoItems "L1" h1 "K1" h2 "K2" Set ComLink of hoItems "L1" OLEexLinkText to "L<b>1</b>" Set ComLink of hoItems "L1" OLEexLinkToolTip to "This is a bit of text that's shown when the cursor hovers the link" Send Destroy to hoItems End_Procedure |
531 |
Can I change the width or the size of the link
Procedure OnCreate Forward Send OnCreate Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Task" to Nothing Send Destroy to hoColumns Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2001" Send Destroy to hoChart Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h1 Get ComAddItem of hoItems "Task 1" to h1 Send ComAddBar of hoItems h1 "Task" "1/2/2001" "1/4/2001" "K1" Nothing Variant h2 Get ComAddItem of hoItems "Task 2" to h2 Send ComAddBar of hoItems h2 "Task" "1/5/2001" "1/7/2001" "K2" Nothing Send ComAddLink of hoItems "L1" h1 "K1" h2 "K2" Set ComLink of hoItems "L1" OLEexLinkStyle to 0 Set ComLink of hoItems "L1" OLEexLinkWidth to 2 Send Destroy to hoItems End_Procedure |
530 |
Can I change the style of the link
|
529 |
Can I change the color of the link
|
528 |
Can I change the part of the bar where the link ends
Procedure OnCreate Forward Send OnCreate Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Task" to Nothing Send Destroy to hoColumns Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2001" Send Destroy to hoChart Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h1 Get ComAddItem of hoItems "Task 1" to h1 Send ComAddBar of hoItems h1 "Task" "1/2/2001" "1/4/2001" "K1" Nothing Variant h2 Get ComAddItem of hoItems "Task 2" to h2 Send ComAddBar of hoItems h2 "Task" "1/5/2001" "1/7/2001" "K2" Nothing Send ComAddLink of hoItems "L1" h1 "K1" h2 "K2" Set ComLink of hoItems "L1" OLEexLinkStartPos to 1 Set ComLink of hoItems "L1" OLEexLinkEndPos to 1 Send Destroy to hoItems End_Procedure |
527 |
Can I change the part of the bar where the link starts
|
526 |
How can I associate an extra data to a link
|
525 |
How can I show or hide a specified link
Procedure OnCreate Forward Send OnCreate Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Task" to Nothing Send Destroy to hoColumns Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2001" Send Destroy to hoChart Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h1 Get ComAddItem of hoItems "Task 1" to h1 Send ComAddBar of hoItems h1 "Task" "1/2/2001" "1/4/2001" "K1" Nothing Variant h2 Get ComAddItem of hoItems "Task 2" to h2 Send ComAddBar of hoItems h2 "Task" "1/5/2001" "1/7/2001" "K2" Nothing Send ComAddLink of hoItems "L1" h1 "K1" h2 "K2" Set ComLink of hoItems "L1" OLEexLinkEndBar to False Send Destroy to hoItems End_Procedure |
524 |
How can I get the key of the bar where the link end
|
523 |
How can I get the key of the bar where the link starts
|
522 |
How can I get the handle of the item where the link ends
|
521 |
How can I get the handle of the item where the link starts
|
520 |
How can I enumerate the links in the chart
Procedure OnCreate Forward Send OnCreate Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Task" to Nothing Send Destroy to hoColumns Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2001" Send Destroy to hoChart Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h1 Get ComAddItem of hoItems "Task 1" to h1 Send ComAddBar of hoItems h1 "Task" "1/2/2001" "1/4/2001" "K1" Nothing Variant h2 Get ComAddItem of hoItems "Task 2" to h2 Send ComAddBar of hoItems h2 "Task" "1/5/2001" "1/7/2001" "K2" Nothing Send ComAddLink of hoItems "L1" h1 "K1" h2 "K2" Send ComAddLink of hoItems "L2" h2 "K2" h1 "K1" Get ComAddItem of hoItems (ComFirstLink(hoItems)) to Nothing Get ComAddItem of hoItems (ComNextLink(hoItems,(ComFirstLink(hoItems)))) to Nothing Send Destroy to hoItems End_Procedure |
519 |
How can I access the properties and method of the link between two bars
|
518 |
How can I remove a link between two bars
|
517 |
How can I remove a link between two bars
|
516 |
How do I add a link between two bars
|
515 |
How do I find the number or count of bars in the item
Procedure OnCreate Forward Send OnCreate Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Task" to Nothing Send Destroy to hoColumns Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2001" Send Destroy to hoChart Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h Get ComAddItem of hoItems "Task 1" to h Send ComAddBar of hoItems h "Task" "1/1/2001" "1/2/2001" "K1" Nothing Send ComAddBar of hoItems h "Task" "1/4/2001" "1/6/2001" "K2" Nothing Set ComItemBar of hoItems h "K2" OLEexBarCaption to (ComItemBar(hoItems,h,OLEexBarsCount)) Send Destroy to hoItems End_Procedure |
514 |
How can I assign any extra data to a bar in the chart
|
513 |
Is there any way to change the background color for percent value being displayed on the progress bar
Procedure OnCreate Forward Send OnCreate Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Task" to Nothing Send Destroy to hoColumns Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2001" Send Destroy to hoChart Variant voChart1 Get ComChart to voChart1 Handle hoChart1 Get Create (RefClass(cComChart)) to hoChart1 Set pvComObject of hoChart1 to voChart1 Variant voBars Get ComBars of hoChart1 to voBars Handle hoBars Get Create (RefClass(cComBars)) to hoBars Set pvComObject of hoBars to voBars Variant voBar Get ComAdd of hoBars "Task%Progress" to voBar Handle hoBar Get Create (RefClass(cComBar)) to hoBar Set pvComObject of hoBar to voBar Set ComShortcut of hoBar to "Percent" Send Destroy to hoBar Send Destroy to hoBars Send Destroy to hoChart1 Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h Get ComAddItem of hoItems "Task 1" to h Send ComAddBar of hoItems h "Percent" "1/2/2001" "1/6/2001" "K1" Nothing Set ComItemBar of hoItems h "K1" OLEexBarPercent to 0.35 Set ComItemBar of hoItems h "K1" OLEexBarShowPercentCaption to True Set ComItemBar of hoItems h "K1" OLEexBarPercentCaptionFormat to "<bgcolor=FF0000> %p%</bgcolor>" Send Destroy to hoItems End_Procedure |
512 |
Is there any way to change the color for percent value being displayed on the progress bar
Procedure OnCreate Forward Send OnCreate Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Task" to Nothing Send Destroy to hoColumns Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2001" Send Destroy to hoChart Variant voChart1 Get ComChart to voChart1 Handle hoChart1 Get Create (RefClass(cComChart)) to hoChart1 Set pvComObject of hoChart1 to voChart1 Variant voBars Get ComBars of hoChart1 to voBars Handle hoBars Get Create (RefClass(cComBars)) to hoBars Set pvComObject of hoBars to voBars Variant voBar Get ComAdd of hoBars "Task%Progress" to voBar Handle hoBar Get Create (RefClass(cComBar)) to hoBar Set pvComObject of hoBar to voBar Set ComShortcut of hoBar to "Percent" Send Destroy to hoBar Send Destroy to hoBars Send Destroy to hoChart1 Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h Get ComAddItem of hoItems "Task 1" to h Send ComAddBar of hoItems h "Percent" "1/2/2001" "1/6/2001" "K1" Nothing Set ComItemBar of hoItems h "K1" OLEexBarPercent to 0.35 Set ComItemBar of hoItems h "K1" OLEexBarShowPercentCaption to True Set ComItemBar of hoItems h "K1" OLEexBarPercentCaptionFormat to "<fgcolor=FF0000>%p%</fgcolor>" Send Destroy to hoItems End_Procedure |
511 |
Is there any way to change the font for percent value being displayed on the progress bar
Procedure OnCreate Forward Send OnCreate Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Task" to Nothing Send Destroy to hoColumns Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2001" Send Destroy to hoChart Variant voChart1 Get ComChart to voChart1 Handle hoChart1 Get Create (RefClass(cComChart)) to hoChart1 Set pvComObject of hoChart1 to voChart1 Variant voBars Get ComBars of hoChart1 to voBars Handle hoBars Get Create (RefClass(cComBars)) to hoBars Set pvComObject of hoBars to voBars Variant voBar Get ComAdd of hoBars "Task%Progress" to voBar Handle hoBar Get Create (RefClass(cComBar)) to hoBar Set pvComObject of hoBar to voBar Set ComShortcut of hoBar to "Percent" Send Destroy to hoBar Send Destroy to hoBars Send Destroy to hoChart1 Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h Get ComAddItem of hoItems "Task 1" to h Send ComAddBar of hoItems h "Percent" "1/2/2001" "1/6/2001" "K1" Nothing Set ComItemBar of hoItems h "K1" OLEexBarPercent to 0.35 Set ComItemBar of hoItems h "K1" OLEexBarShowPercentCaption to True Set ComItemBar of hoItems h "K1" OLEexBarPercentCaptionFormat to "<b><font Tahoma;12>%%p</font></b>" Send Destroy to hoItems End_Procedure |
510 |
Is there any way to align the percent value being displayed on the progress bar
Procedure OnCreate Forward Send OnCreate Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Task" to Nothing Send Destroy to hoColumns Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2001" Send Destroy to hoChart Variant voChart1 Get ComChart to voChart1 Handle hoChart1 Get Create (RefClass(cComChart)) to hoChart1 Set pvComObject of hoChart1 to voChart1 Variant voBars Get ComBars of hoChart1 to voBars Handle hoBars Get Create (RefClass(cComBars)) to hoBars Set pvComObject of hoBars to voBars Variant voBar Get ComAdd of hoBars "Task%Progress" to voBar Handle hoBar Get Create (RefClass(cComBar)) to hoBar Set pvComObject of hoBar to voBar Set ComShortcut of hoBar to "Percent" Send Destroy to hoBar Send Destroy to hoBars Send Destroy to hoChart1 Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h Get ComAddItem of hoItems "Task 1" to h Send ComAddBar of hoItems h "Percent" "1/2/2001" "1/6/2001" "K1" Nothing Set ComItemBar of hoItems h "K1" OLEexBarPercent to 0.75 Set ComItemBar of hoItems h "K1" OLEexBarShowPercentCaption to True Set ComItemBar of hoItems h "K1" OLEexBarPercentCaptionFormat to "%p/100" Set ComItemBar of hoItems h "K1" OLEexBarOffset to 0 Send Destroy to hoItems End_Procedure |
509 |
Is there any way to change the format of the percent being displayed on the progress bar
Procedure OnCreate Forward Send OnCreate Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Task" to Nothing Send Destroy to hoColumns Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2001" Send Destroy to hoChart Variant voChart1 Get ComChart to voChart1 Handle hoChart1 Get Create (RefClass(cComChart)) to hoChart1 Set pvComObject of hoChart1 to voChart1 Variant voBars Get ComBars of hoChart1 to voBars Handle hoBars Get Create (RefClass(cComBars)) to hoBars Set pvComObject of hoBars to voBars Variant voBar Get ComAdd of hoBars "Task%Progress" to voBar Handle hoBar Get Create (RefClass(cComBar)) to hoBar Set pvComObject of hoBar to voBar Set ComShortcut of hoBar to "Percent" Send Destroy to hoBar Send Destroy to hoBars Send Destroy to hoChart1 Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h Get ComAddItem of hoItems "Task 1" to h Send ComAddBar of hoItems h "Percent" "1/2/2001" "1/6/2001" "K1" Nothing Set ComItemBar of hoItems h "K1" OLEexBarPercent to 0.4 Set ComItemBar of hoItems h "K1" OLEexBarShowPercentCaption to True Set ComItemBar of hoItems h "K1" OLEexBarPercentCaptionFormat to "<b>%p/100</b>" Send Destroy to hoItems End_Procedure |
508 |
How can I show or hide the percent value in the progress bar
Procedure OnCreate Forward Send OnCreate Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Task" to Nothing Send Destroy to hoColumns Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2001" Send Destroy to hoChart Variant voChart1 Get ComChart to voChart1 Handle hoChart1 Get Create (RefClass(cComChart)) to hoChart1 Set pvComObject of hoChart1 to voChart1 Variant voBars Get ComBars of hoChart1 to voBars Handle hoBars Get Create (RefClass(cComBars)) to hoBars Set pvComObject of hoBars to voBars Variant voBar Get ComAdd of hoBars "Task%Progress" to voBar Handle hoBar Get Create (RefClass(cComBar)) to hoBar Set pvComObject of hoBar to voBar Set ComShortcut of hoBar to "Percent" Send Destroy to hoBar Send Destroy to hoBars Send Destroy to hoChart1 Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h Get ComAddItem of hoItems "Task 1" to h Send ComAddBar of hoItems h "Percent" "1/2/2001" "1/6/2001" "K1" Nothing Set ComItemBar of hoItems h "K1" OLEexBarPercent to 0.4 Set ComItemBar of hoItems h "K1" OLEexBarShowPercentCaption to True Send Destroy to hoItems End_Procedure |
507 |
How can I change the percent value in a progress bar
Procedure OnCreate Forward Send OnCreate Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Task" to Nothing Send Destroy to hoColumns Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2001" Send Destroy to hoChart Variant voChart1 Get ComChart to voChart1 Handle hoChart1 Get Create (RefClass(cComChart)) to hoChart1 Set pvComObject of hoChart1 to voChart1 Variant voBars Get ComBars of hoChart1 to voBars Handle hoBars Get Create (RefClass(cComBars)) to hoBars Set pvComObject of hoBars to voBars Variant voBar Get ComAdd of hoBars "Task%Progress" to voBar Handle hoBar Get Create (RefClass(cComBar)) to hoBar Set pvComObject of hoBar to voBar Set ComShortcut of hoBar to "Percent" Send Destroy to hoBar Send Destroy to hoBars Send Destroy to hoChart1 Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h Get ComAddItem of hoItems "Task 1" to h Send ComAddBar of hoItems h "Percent" "1/2/2001" "1/6/2001" "K1" Nothing Set ComItemBar of hoItems h "K1" OLEexBarPercent to 0.4 Send Destroy to hoItems End_Procedure |
506 |
How can I add a percent bar
Procedure OnCreate Forward Send OnCreate Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Task" to Nothing Send Destroy to hoColumns Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2001" Send Destroy to hoChart Variant voChart1 Get ComChart to voChart1 Handle hoChart1 Get Create (RefClass(cComChart)) to hoChart1 Set pvComObject of hoChart1 to voChart1 Variant voBars Get ComBars of hoChart1 to voBars Handle hoBars Get Create (RefClass(cComBars)) to hoBars Set pvComObject of hoBars to voBars Get ComAdd of hoBars "Task%Progress" to Nothing Send Destroy to hoBars Send Destroy to hoChart1 Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h Get ComAddItem of hoItems "Task 1" to h Send ComAddBar of hoItems h "Task%Progress" "1/2/2001" "1/6/2001" "K1" Nothing Set ComItemBar of hoItems h "K1" OLEexBarPercent to 0.4 Send Destroy to hoItems End_Procedure |
505 |
Can I add a bar in the chart, using your EBN files
Procedure OnCreate Forward Send OnCreate Variant voAppearance Get ComVisualAppearance to voAppearance Handle hoAppearance Get Create (RefClass(cComAppearance)) to hoAppearance Set pvComObject of hoAppearance to voAppearance Get ComAdd of hoAppearance 1 "c:\exontrol\images\normal.ebn" to Nothing Send Destroy to hoAppearance Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Task" to Nothing Send Destroy to hoColumns Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2001" Send Destroy to hoChart Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h Get ComAddItem of hoItems "Task 1" to h Send ComAddBar of hoItems h "" "1/2/2001" "1/5/2001" "K1" " EBN " Set ComItemBar of hoItems h "K1" OLEexBarBackColor to 16777216 Send ComAddBar of hoItems h "Task" "1/6/2001" "1/8/2001" "K2" Nothing Send Destroy to hoItems End_Procedure |
504 |
How can I change the background color of the bar in the chart
Procedure OnCreate Forward Send OnCreate Variant voColumns Get ComColumns to voColumns Handle hoColumns Get Create (RefClass(cComColumns)) to hoColumns Set pvComObject of hoColumns to voColumns Get ComAdd of hoColumns "Task" to Nothing Send Destroy to hoColumns Variant voChart Get ComChart to voChart Handle hoChart Get Create (RefClass(cComChart)) to hoChart Set pvComObject of hoChart to voChart Set ComFirstVisibleDate of hoChart to "1/1/2001" Send Destroy to hoChart Variant voChart1 Get ComChart to voChart1 Handle hoChart1 Get Create (RefClass(cComChart)) to hoChart1 Set pvComObject of hoChart1 to voChart1 Variant voBars Get ComBars of hoChart1 to voBars Handle hoBars Get Create (RefClass(cComBars)) to hoBars Set pvComObject of hoBars to voBars Variant voBar Get ComCopy of hoBars "Task" "TaskR" to voBar Handle hoBar Get Create (RefClass(cComBar)) to hoBar Set pvComObject of hoBar to voBar Set ComColor of hoBar to (RGB(255,0,0)) Send Destroy to hoBar Send Destroy to hoBars Send Destroy to hoChart1 Variant voItems Get ComItems to voItems Handle hoItems Get Create (RefClass(cComItems)) to hoItems Set pvComObject of hoItems to voItems Variant h Get ComAddItem of hoItems "Task 1" to h Send ComAddBar of hoItems h "TaskR" "1/2/2001" "1/6/2001" "K1" Nothing Send Destroy to hoItems End_Procedure |
503 |
How can I change the background color of the bar in the chart
|
502 |
How can I change the background color of the HTML text or caption of the bar in the chart
|
501 |
How can I change the foreground color of the HTML text or caption of the bar in the chart
|